package zlatan_demo11_foreach

object ClassDemo08 {
  def main(args: Array[String]): Unit = {

    val list1=List(2,3,1,6,4,5)
    val list2=list1.sortWith(_>_)
    println(list2)

  }

}
